package ucl.cs.stockbroker.server;

/**
 * StockCompany Class.
 * 
 * @author Min Park, Saniul Ahmed, Kamil Olesiejuk
 * @version 1.0
 */
public class StockCompany {
	private final String name;
	private final String companySymbol;
	private double stockPrice;

	public StockCompany(String name, String companyCode) {
		this.name = name;
		this.companySymbol = companyCode;
	}

	public StockCompany(String name, String companyCode, double stockPrice) {
		this.name = name;
		this.companySymbol = companyCode;
		this.stockPrice = stockPrice;
	}

	public String getCompanySymbol() {
		return this.companySymbol;
	}

	public String getName() {
		return this.name;
	}

	public double getStockPrice() {
		return this.stockPrice;
	}

	public void setStockPrice(double stockPrice) {
		this.stockPrice = stockPrice;
	}
}
